import 'package:json_annotation/json_annotation.dart';

part 'res_msg.g.dart';

@JsonSerializable()
class ResMsg {
  int code;
  String detail;
 String authorization;

  ResMsg({this.code,this.detail,this.authorization});

  factory ResMsg.fromJson(Map<String, dynamic> json) => _$ResMsgFromJson(json);
  Map<String, dynamic> toJson() => _$ResMsgToJson(this);

  @override
  String toString() {
    return 'ResMsg{code: $code, detail: $detail, authorization: $authorization}';
  }


}